package com.retoc.graduationtravel.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName spot_detail
 */
@TableName(value = "spot_detail")
@Data
public class SpotDetail implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 酒店/景点ID
     */
    private Long spotId;

    /**
     * 房间/门票名字
     */
    private String name;

    /**
     * 房间/门票描述
     */
    private String description;

    /**
     * 房间/门票价钱
     */
    private BigDecimal price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}